package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户联系人表
 * @TableName bs_user_contract
 */
@Data
@ApiModel(value = "用户联系人实体类")
public class BsUserContract extends BaseEntity implements Serializable {
    /**
     * 联系人ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "联系人ID")
    private Long contractId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 联系人姓名
     */
    @ApiModelProperty(value = "联系人姓名")
    private String contractName;

    /**
     * 联系人身份证号
     */
    @ApiModelProperty(value = "联系人身份证号")
    private String contractCard;

    /**
     * 联系人手机号
     */
    @ApiModelProperty(value = "联系人手机号")
    private String contractPhonenumber;


    private static final long serialVersionUID = 1L;
}